namespace IQIGame.Onigao.Logic
{
    public static class ErrorCode
    {
        public const int SUCCESS = 0;
        public const int Unknown = 1;
        public const int InvalidPlayer = 2;
        public const int InvalidLevel = 3;
        public const int InvalidRegion = 4;
        public const int InvalidEntity = 5;
        public const int RepeatRequire = 6;
        public const int EntityNotFound = 7;
        public const int NotInRange = 8;
        public const int TargetPosInvalid = 9;
        public const int InvalidStatus = 10;
        public const int HeroOccupied = 11;
        public const int StoryCfgListIndexNotMatch = 12;
        public const int InvalidQuest = 13;
        public const int InvalidPortal = 14;
        public const int NavigationError = 15;
    }

    public enum TeleportResult
    {
        Success = 0,
        NotActiveCheckPoint = 1,
        NavigationError = 2
    }
}
